UCF STIG Viewer Logo

The EDB Postgres Advanced Server must enforce access restrictions associated with changes to the configuration of the EDB Postgres Advanced Server or database(s).


Overview

Finding ID Version Rule ID IA Controls Severity
V-259284 EPAS-00-008500 SV-259284r938905_rule Medium
Description
Failure to provide logical access restrictions associated with changes to configuration may have significant effects on the overall security of the system. When dealing with access restrictions pertaining to change control, it should be noted that any changes to the hardware, software, and/or firmware components of the information system can potentially have significant effects on the overall security of the system. Accordingly, only qualified and authorized individuals should be allowed to obtain access to system components for the purposes of initiating changes, including upgrades and modifications.
STIG Date
EnterpriseDB Postgres Advanced Server (EPAS) Security Technical Implementation Guide 2023-11-20

Details

Check Text ( C-63023r938903_chk )
Review the security configuration of the EDB Postgres database(s).

If EDB Postgres does not enforce access restrictions associated with changes to the configuration of the database(s), this is a finding.

To assist in conducting reviews of permissions, the following psql commands describe permissions of databases, schemas, and users:

\l
\dn+
\du

Permissions of concern in this respect include the following, and possibly others:

- any user with SUPERUSER privileges.
- any database or schema with "C" (create) or "w" (update) privileges that are not necessary.
Fix Text (F-62932r938904_fix)
Configure EDB Postgres Advanced Server to enforce access restrictions associated with changes to the configuration of the EDB Postgres database(s). Other third-party monitoring tools may be used to satisfy this requirement.

Use the ALTER ROLE to remove accesses from roles. As the "enterprisedb" operating system user, run the following:

> psql edb -c "ALTER ROLE NOSUPERUSER"

Use REVOKE to remove privileges from databases and schemas:

> psql edb -c "REVOKE ALL PRIVILEGES ON FROM "